package com.cleaningcloud.cld.domain;

import java.util.Date;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 项目申请对象 cld_material_app
 * 
 * @author cleaningcloud
 * @date 2024-10-28
 */

@EqualsAndHashCode(callSuper = true)
@Data

public class CldMaterialApp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物资申请ID */
    private Long materialAppId;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    private Long staffId;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date appTime;

    /** 调拨单号 */
    @Excel(name = "调拨单号")
    private String meaterialOdd;

    /** 申请状态(1待完成2已完成) */
    @Excel(name = "申请状态(1待完成2已完成)")
    private Long appStatus;

    /** 审批状态(0待审批1已通过2被驳回) */
    @Excel(name = "审批状态(0待审批1已通过2被驳回)")
    private Long approveStatus;

    /** 审批人ID */
    @Excel(name = "审批人ID")
    private Long approveId;

    /** 审批人名称 */
    @Excel(name = "审批人名称")
    private String approveName;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date approveTime;

    /** 驳回时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "驳回时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date rejectTime;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String rejectReason;


}
